<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
	<head>
		<meta charset="UTF-8">
		<title>用户详情</title>
		 <link rel="stylesheet" th:href="@{/layui/dist/css/layui.css}"  media="all">
	</head>
	<body class="layui-view-body">
		<div class="layui-content">
			<div class="layui-row">
				<div class="layui-col-md11">
					<form class="layui-form" lay-filter="formTestFilter2121" style="margin-top: 50px;">
						<div class="layui-form-item">
							<label class="layui-form-label">用户编号：</label>
							<div class="layui-input-inline">
								<input type="text" name="userNo" class="layui-input" readonly="readonly" th:value="${user.getUserNo()}" >
							</div>
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label">用户名：</label>
							<div class="layui-input-inline">
								<input type="text" name="username" class="layui-input" readonly="readonly" th:value="${user.getUsername()}" >
							</div>
							<label class="layui-form-label">昵称：</label>
							<div class="layui-input-inline">
								<input type="text" name="nickName"  class="layui-input" readonly="readonly" th:value="${user.getNickName()}">
							</div>
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label">Eamil：</label>
							<div class="layui-input-inline">
								<input type="text" name="email"  class="layui-input" readonly="readonly" th:value="${user.getEmail()}">
							</div>
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label">手机号：</label>
							<div class="layui-input-inline">
								<input type="text" name="phoneNum"  class="layui-input" readonly="readonly" th:value="${user.getPhoneNum()}">
							</div>
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label">用户类型：</label>
							<div class="layui-input-inline">
								<input type="text" name="type" class="layui-input" readonly="readonly" th:value="${user.getType() == 1 ? '开发方' : '需求方'}">
							</div>
							<label class="layui-form-label">用户状态：</label>
							<div class="layui-input-inline">
								<input type="text" name="codition" class="layui-input" readonly="readonly" th:value="${user.getState() == 1 ? '封停' : '未封停'}">
							</div>
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label">实名认证：</label>
							<div class="layui-input-inline">
								<input type="text" name="roleName" class="layui-input" readonly="readonly" th:value="${user.getIdentity() == 1 ? '已认证' : '未认证'}">
							</div>
						</div>
						<div class="layui-form-item">
							<div class="layui-input-block">
								<button type="button" class="layui-btn layui-btn-normal" onclick="exit()" style="width: 80px;">返回</button>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
		<script th:src="@{/layui/dist/layui.all.js}" charset="utf-8"></script>
		<script th:src="@{/js/jquery.min.js}" charset="utf-8"></script>
	<script type="text/javascript">
		function exit() {
            var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
            parent.layer.close(index); //再执行关闭
        }
	</script>
	</body>
</html>
